import 'package:fish_redux/fish_redux.dart';

enum UserAccountViewAction {
  action,
  onGetData,
  onDelete,
  onRefreshData,
}

class UserAccountViewActionCreator {
  static Action onAction() {
    return const Action(UserAccountViewAction.action);
  }

  static Action onGetData(data) {
    return Action(UserAccountViewAction.action,payload: data);
  }

  static Action onDelete(data) {
    return Action(UserAccountViewAction.onDelete, payload: data);
  }

  static Action onRefreshData(data) {
    return Action(UserAccountViewAction.onRefreshData, payload: data);
  }
}
